package com.hst.web.base.entity;

import com.hst.core.annotation.Comment;
import com.hst.core.dao.BaseEntity;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;

/**
 * @Auther: liwei
 * @Date: 2024/04/12/0012 - 04 - 12 - 16:12
 * @Description: com.hst.web.base.entity
 * @version: 1.0
 */
@Entity
@Table(name = "t_employee_type")
@Comment("人员类别字典表")
public class TEmployeeType extends BaseEntity implements Serializable {

    /**
     *
     */
    private static final long serialVersionUID = 1L;

    @Id
    @Column(name = "employee_type_id", length = 20)
    @Comment("人员类别ID")
    @GeneratedValue(generator = "hsid")
    @GenericGenerator(name = "hsid", strategy = "com.hst.core.hbm.HSIDGenerator")
    private String employeeTypeId;

    @Column(name = "employee_type_name", length = 50)
    @Comment("员工姓名")
    private String employeeTypeName;

    public String getEmployeeTypeId() {
        return employeeTypeId;
    }

    public void setEmployeeTypeId(String employeeTypeId) {
        this.employeeTypeId = employeeTypeId;
    }

    public String getEmployeeTypeName() {
        return employeeTypeName;
    }

    public void setEmployeeTypeName(String employeeTypeName) {
        this.employeeTypeName = employeeTypeName;
    }
}
